/* 操作记录列表样式 */
.sidebar-operation-list {
    max-height: 200px;
    overflow-y: auto;
}

.sidebar-operation-item {
    border-bottom: 1px solid #eee;
    padding: 8px 0;
}

.sidebar-operation-item:last-child {
    border-bottom: none;
}

.operation-desc {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 13px;
}

.operation-info {
    font-size: 12px;
    line-height: 1.4;
}

/* 操作记录页面样式 */
.operation-type-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
    text-align: center;
}

.operation-type-1 {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.operation-type-2 {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.operation-type-3 {
    background-color: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

.operation-type-4 {
    background-color: #f0f5ff;
    color: #2f54eb;
    border: 1px solid #adc6ff;
}

.operation-type-5 {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.operation-type-6 {
    background-color: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

/* 表格操作列样式 */
.table-actions {
    white-space: nowrap;
}

.table-actions a {
    margin-right: 5px;
}

/* 详情页面样式 */
.detail-label {
    font-weight: 500;
    color: #333;
}

.detail-value {
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sidebar-operation-list {
        max-height: 150px;
    }
    
    .operation-desc {
        font-size: 12px;
    }
    
    .operation-info {
        font-size: 11px;
    }
}